<template>
    <view class="contact-btn">
        <view class="contact-footer">
            <button class="left-button">
                <image class="icon icon1" src="~@/static/images/kefu.png" mode="aspectFill"></image>
                <view class="text-con">
                    <view class="text">联系客服</view>
                    <view class="subtext">一键直达客服</view>
                </view>
            </button>
            <button class="right-button" @click="handleBigButtonClick('bottom')">
                <image class="icon icon2" src="~@/static/images/lzd_icon.png" mode="aspectFill"></image>
                <view class="text-con">
                    <view class="text">留资待</view>
                    <view class="subtext">填表等待联系</view>
                </view>
            </button>
        </view>
        <!-- 弹窗 -->
        <contact-popup ref="contactPopup"></contact-popup>
    </view>
</template>
<script>
import contactPopup from "@/components/contact-popup.vue"
export default {
    components: {
        contactPopup
    },
    data() {
        return {
        }
    },
    methods: {
        handleBigButtonClick(type) {
            this.$refs.contactPopup.$refs.popup.open(type)
        },
    }
}
</script>